package com.j2eefast.flowable.bpm.entity;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.io.Serializable;
import java.math.BigInteger;
import java.util.Date;

/**
 * 法人盖章申请表
 * bpm_bid_contract
 *
 * @author: summer
 * @date 2021-06-03 16:28
 */
@Data
@TableName("bpm_bid_legalperson")
public class BpmBidLegalPersonEntity  implements Serializable {

    /** 主键 */
    @TableId(value = "id",type = IdType.INPUT)
    private String id;
    /**标题*/
    @TableField(value = "title")
    private String title;
    /**优先级*/
    @TableField(value = "priority")
    private String priority;
    /**项目档案编号*/
    @TableField(value = "project_id")
    private String projectId;
    /**项目所属部门*/
    @TableField(value = "project_dept")
    private String projectDept;
    /**处理意见*/
    @TableField(value = "opinion")
    private String opinion;
    /**创建者*/
    @TableField(value = "create_by")
    private String createBy;
    /**更新者*/
    @TableField(value = "update_by")
    private String updateBy;
    @TableField(value = "update_time")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss" , timezone = "GMT+8")
    private Date updateTime;
    /**创建时间*/
    @TableField(value = "create_time")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss" , timezone = "GMT+8")
    private Date createTime;
    /**备注*/
    @TableField(value = "remark")
    private String remark;
    /**状态*/
    @TableField(value = "status")
    private String status;
    /**流程实例ID*/
    @TableField(value = "process_instance_id")
    private String processInstanceId;
    /**关联表单id*/
    @TableField(value = "form_id")
    private String formId;
    /**用户id*/
    @TableField(value = "user_id")
    private String userId;
    /**表单的model key*/
    @TableField(value = "model_key")
    private String modelKey;
    /**发起部门*/
    @TableField(value = "department")
    private String department;
    /**流程实例ID*/
    @TableField(value = "type")
    private String type;
    /**发起人*/
    @TableField(value = "launch_name")
    private String launchName;
    /**申请人*/
    @TableField(value = "applicant")
    private String applicant;
    /**申请人id*/
    @TableField(value = "applicant_id")
    private String applicantId;
    /**申请内容*/
    @TableField(value = "application_content")
    private String applicationContent;
    /**附言*/
    @TableField(value = "attachment_text")
    private String attachmentText;

}
